<%-- 
    Document   : detailObat
    Created on : 05 Jan 12, 10:15:35
    Author     : Zaza
--%>

<%@page import="business.Obat"%>
<%@page import="business.ObatListing"%>
<%@page import="controller.web.ObatView"%>
<%@page import="java.util.Iterator"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Detail Obat</title>
    </head>
    <body>
        <h1>Detail Obat</h1>
        <a href ="logout">Logout</a>
        <a href ="ubahAkun">Mengubah Akun</a>
        <a href ="daftarObat">Lihat Daftar Obat</a>
        <table border="1">
            <thead>
                <tr>
                    <th>Nama Obat</th>
                    <th>Harga</th>
                    <th>Kuantitas</th>
                    <th>Deskripsi</th>
                </tr>
            </thead>
            <tbody>

                <tr>
          <e:forEach items="${obat}" var="ev">
                    <td>${ev.MERKOB}</td>
                    <td>${ev.HARGAOB}</td>
                    <td>${ev.KUANTITASOB}</td>
                    <td>${ev.DESKRIPSIOB}</td>
                    <td><a href="detailObat=${ev.MERKOB}">lihat</a></td>
            </e:forEach>
                </tr>
            </tbody>
        </table>
    </body>

</html>
